@import '../../common/variable.less';

.section-header {
    padding: 30px 0;
    .section-title {
        float: left;
        font-size: 32px;
        font-weight: bold;
    }
    .view-more {
        float: right;
        color: @theme-color;
        margin-top: 8px;
        font-size: 14px;
    }
}

.info-text-list {
    font-size: 14px;
    white-space: nowrap;
    // overflow: hidden;
    // text-overflow: ellipsis;
    .text-item {
        margin-bottom: 33px;
        &:last-of-type {
            margin-bottom: 0;
        }
    }
    .time {
        .col();
        min-width: 124px;
        color: #555;
        // margin-right: 47px;
        margin-left: 7px;
    }
    .link {
       .col();
        max-width: 431px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.info-section {
    font-size: 0;
    margin-bottom: 50px;
    .content-left {
        .col();
        width: 52.5%;
        min-height: 400px;
        padding: 28px 30px;
        box-shadow: -3px 0px 30.4px 4.6px 
		#f4f6f9;
    }
    .content-right {
        .col();
        width: 47.5%;
        height: 400px;
        background: #f1f1f1;
    }
}

.entries-section {
    padding: 70px 0 50px;
    margin-bottom: 50px;
    background: #f6f6f6;
    .entry {
        .col();
        width: 570px;
        padding-top: 300px;
        padding-bottom: 37px;
        background-color: #ffffff;
	    box-shadow: -3px 0px 30.4px 4.6px #f4f6f9;
    }

    .entry-left {
        &:extend(.bg-image);
        margin-right: 60px;
        background-position: center top;
        background-image: url('../../image/entry-left.png'); 
    }

    .entry-right {
        &:extend(.bg-image);
        background-position: center top;
        background-image: url('../../image/entry-right.png'); 
    }

    .title {
        margin: 29px 0 18px;
        font-size: 24px;
        font-weight: bold;
        text-align: center;
    }

    .desc {
        margin: 0 75px;
        color: #666;
        line-height: 30px;
    }

    .entry-btn {
        margin: 38px auto 0;
        width: 200px;
        height: 50px;
        background-color: @theme-color;
        line-height: 50px;
        color: #fff;
        font-size: 18px;
        text-align: center;
        font-weight: bold;
        border-radius: 4px;
        cursor: pointer;
    }
}

.news-section {
    margin-bottom: 170px;
    font-size: 0;
    .col {
        .col();
    }
    .content-left {
        width: 49.1%;
        height: 396px;
        background-color: #f1f1f1;
    }
    .content-right {
        width: 50.9%;
        padding-left: 30px;
    }

    .news-list-top {
        margin-bottom: 23px;    
        .news-top-left {
            .col();
            width: 100px;
            background-color: #fffaee;
            padding-bottom: 10px;
            .year {
                text-align: center;
                height: 30px;
                line-height: 30px;
                font-size: 18px;
                font-weight: bold;
                color: #fff;
                background-color: #ffb820;
            }
            .day {
                text-align: center;
                font-weight: bold;
                font-size: 36px;
                line-height: 1;
                padding: 13px 0 15px;
                color: #ffb820;
            }
            .month {
                font-size: 16px;
                color: #ffb820;
                text-align: center;
            }
        }
        .news-top-right {
            .col();
            max-width: 470px;
            width: 90%;
            height: 120px;  
            padding: 20px 0;
            margin-left: 10px;
            background: #fffaee;
            .title {
                font-size: 18px;
                text-align: center;
                margin-left: 10px;
                margin-bottom: 12px;
                padding: 0 6px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .desc {
                .text-multi-overflow();
                font-size: 12px;
                line-height: 30px;
                color: #666;
                max-height: 54px;
                margin: 0 25px;
                overflow: hidden;
                img {
                    display: none !important;
                }

                p {
                    display: inline !important;
                }
                
            }
        }
    }
}
